package wt.hpad.activity.splash;

import android.view.LayoutInflater;
import android.view.View;

import wt.hpad.R;
import wt.hpad.base.BaseFragment;

/**
 * Created by wt on 12.13.
 */

public class SplashFragment extends BaseFragment implements SplashContract.View {

    private View mView;
    SplashContract.Presenter mSplashPresenter;

    @Override
    public View initViews() {
        if (mView == null) {
            mView = LayoutInflater.from(baseActivity).inflate(R.layout.splash_frag, null, false);
        }
        return mView;
    }

    @Override
    public void setPresenter(SplashContract.Presenter presenter) {
        mSplashPresenter = presenter;
    }

    @Override
    public void startNextActivity(int loginState) {

    }

    @Override
    public void closeCurrentActivity() {

    }
}
